overlay_init();
function overlay_init(){
	$("#overlay_box").overlay({
		 
	    // custom top position
	    top: 260,
	 
	    // some mask tweaks suitable for facebox-looking dialogs
	    mask: {
	 
	    // you might also consider a "transparent" color for the mask
	    color: '#fff',
	 
	    // load mask a little faster
	    loadSpeed: 200,
	 
	    // very transparent
	    opacity: 0.5
	    },
	 
	    // disable this for modal dialog-type of overlays
	    closeOnClick: false,
	 
	    // load it immediately after the construction
	    load: false
	 
	});
}

function loadOverlay(){
	$("#overlay_box").overlay().load();
}

function setMessageOverlay(msg){
	$("#overlay_box p.loading_message").html(msg);
}

function unloadOverlay(){
	$('#overlay_box button.close').trigger('click');
}